package com.ruoyi.system.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.ruoyi.system.mapper.LabAllPurposeExperimentMapper;
import com.ruoyi.system.domain.LabAllPurposeExperiment;
import com.ruoyi.system.service.LabAllPurposeExperimentService;

/**
 * @Author LiBingyan
 * @Date 2022/3/20 17:12
 * @Version 1.0
 **/
@Service
public class LabAllPurposeExperimentServiceImpl implements LabAllPurposeExperimentService {

    @Resource
    private LabAllPurposeExperimentMapper labAllPurposeExperimentMapper;

    @Override
    public int updateBatch(List<LabAllPurposeExperiment> list) {
        return labAllPurposeExperimentMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<LabAllPurposeExperiment> list) {
        return labAllPurposeExperimentMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<LabAllPurposeExperiment> list) {
        return labAllPurposeExperimentMapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(LabAllPurposeExperiment record) {
        return labAllPurposeExperimentMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(LabAllPurposeExperiment record) {
        return labAllPurposeExperimentMapper.insertOrUpdateSelective(record);
    }

}

